package com.operate.api.operate.order.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class OrderRechargeVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "订单ID")
    private String id;
    @ApiModelProperty(value = "充值金额")
    private BigDecimal orderMoney;
    @ApiModelProperty(value = "商品(豆子数量)")
    private String orderNum;
    @ApiModelProperty(value = "支付方式 1 支付宝 2 微信")
    private Integer orderType;
    @ApiModelProperty(value = "交易单号")
    private String orderNo;
    @ApiModelProperty(value = "用户ID")
    private String userId;
    @ApiModelProperty(value = "用户手机号")
    private String userPhone;
    @ApiModelProperty(value = "支付时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy/MM/dd HH:mm:ss")
    private Date orderDate;

}
